<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="bean.Content"%>

<html>
	<head>
		<title>预览</title>
		<link rel="shortcut icon" href="../images/titleico.ico" />
	</head>
	<body>
		<%
			String insertTitle = request.getParameter("insertTitle");
			String edit = request.getParameter("edt1");
			String choice_id = (String) session.getAttribute("choice_id");
			if (edit != null) {
				edit = edit.replaceAll("\r\n", "");
				edit = edit.replaceAll("\r", "");
				edit = edit.replaceAll("\n", "");
				edit = edit.replaceAll("\"", "'");
			}
			session.setAttribute("insert_title", insertTitle);
			session.setAttribute("insert_content", edit);
		%>

		<table cellpadding="0" cellspacing="0" width="700" align="center">
			<tr>
				<td align="right">
					<a href="guanli_1.jsp?id=<%=choice_id%>">返回继续编辑</a>
				</td>
			</tr>
			<tr>
				<td>
					<hr />
				</td>
			</tr>
			<tr>
				<td align="center">
					<b><%=insertTitle%></b>
				</td>
			</tr>
			<tr>
				<td style="padding-top: 30">
					<%=edit%>
				</td>
			</tr>
			<tr>
				<td>
					<hr />
				</td>
			</tr>
			<tr>
				<td align="right">
					<a href="guanli_1.jsp?id=<%=choice_id%>">返回继续编辑</a>
				</td>
			</tr>

		</table>
	</body>
</html>